package com.store.application;

import java.util.Date;
import java.util.List;

import com.store.business.CustomerInDatabase;

public interface Store {
	
	List<Company> getAllCompanies();
	
	List<Order>  getAllOrders();

	List<Product> getListOfProducts();
	
	List<Customer> getListOfCustomers();
	
	int order(List<Product> products);

	Order getOrder(int orderIdentifier);

	int addCustomer(Order order, Customer customer) throws Exception;
	void addNewCustomer(CustomerInDatabase customer) throws Exception;
	
	int addCompany(Company company) throws Exception;
	
	List<Company> getCompanieByName(String companyName)	throws Exception;


	List<Order> getOrderByDate(Date date);	


}
